package com.ruoyi.common.core.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.xss.Xss;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.util.Date;

/**
 * Order基类
 * 
 * @author ruoyi
 */
public class OrderEntity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 下单用户id */
    private Long orderUserId;

    /** 支付用户id */
    private Long payUserId;

    /** 应用appId */
    private String appId;

    /** 应用类型 */
    private String appType;

    /** 支付类型 */
    private String payType;

    /** openId */
    private String openId;

    /** 店铺ID */
    private String shopId;

    /** 平台 */
    private String platform;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public Long getOrderUserId()
    {
        return orderUserId;
    }

    public void setOrderUserId(Long orderUserId)
    {
        this.orderUserId = orderUserId;
    }

    public Long getPayUserId()
    {
        return payUserId;
    }

    public void setPayUserId(Long payUserId)
    {
        this.payUserId = payUserId;
    }

    public String getAppId()
    {
        return appId;
    }

    public void setAppId(String appId)
    {
        this.appId = appId;
    }

    public String getShopId(){ return shopId; }

    public void setShopId(String shopId){ this.shopId = shopId; }

    public String getAppType()
    {
        return appType;
    }

    public void setAppType(String appType)
    {
        this.appType = appType;
    }

    public String getPayType()
    {
        return payType;
    }

    public void setPayType(String payType)
    {
        this.payType = payType;
    }

    public String getOpenId()
    {
        return openId;
    }

    public void setOpenId(String openId)
    {
        this.openId = openId;
    }

    public String getPlatForm()
    {
        return platform;
    }

    public void setPlatForm(String platform)
    {
        this.platform = platform;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }
}
